package groupb6.shopsystem.service;

import groupb6.shopsystem.pojo.entity.Destination;
import groupb6.shopsystem.pojo.entity.User;
import groupb6.shopsystem.pojo.form.AddAddressForm;
import groupb6.shopsystem.pojo.form.CustomerEditForm;
import groupb6.shopsystem.pojo.form.UpdateAddressForm;
import groupb6.shopsystem.util.response.UniversalResponse;

import java.util.List;

public interface CustomerInfoService {
    UniversalResponse<List<Destination>> getDestinations();
    UniversalResponse<?> updateUserDestination(UpdateAddressForm updateAddressForm);
    UniversalResponse<?> insertUserDestination(AddAddressForm addAddressForm);
    UniversalResponse<?> changeDefaultDestination(Integer destination_id);
    UniversalResponse<?> deleteUserDestination(Integer id);
    User getInfo();
    void editInfo(CustomerEditForm form);
}
